<?php 

class Stats extends MY_Controller {

    function __construct()
    {
        parent::__construct();
		$this->load->model('mongo_manage','',true);
    }

	public function author_stats(){
		$CI =& get_instance();

		$data['book_count_stat'] = $this->mongo_manage->getAuthorsBooksCount();
		
		$CI->load->view('/main/authors_stats',$data);
	}
}